package com.headingdata.type;

public class TypeConversionDemo {
    public static void  main(String[] args){
        //自动数据类型转换
        byte a = 12;
        int b = a;
        System.out.println(a);
        System.out.println(b);

        int c = 100;
        double d = c;

        char c1 = 'a';
        int i = c1;
        System.out.println(i);
    }
}
